package com.smart.validate.exception;

import com.smart.validate.exception.ParamsException;

/**
 * @author weaponry MrYe
 * @program smart-validator
 * @description
 * @created 2020-07-19 18:43
 */
public interface ValidateErrorListener {
    /**
     * 校验失败时处理策略
     *
     * @param e
     * @param msg
     */
    void handler(ParamsException e, String msg);
}
